package com.hmall.api.order;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PutMapping;

/**
 * @version: 1.0
 * @Author: ljy
 * @description:
 * @date: 2025-08-20 23:04
 */
@FeignClient(name = "trade-service", path = "/orders")
public interface OrderClient {

    /**
     * 标记订单已支付
     * @param orderId
     */
    @PutMapping("/{orderId}")
   void markOrderPaySuccess(@PathVariable("orderId") Long orderId);
}
